home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_17.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  102KB  |  816x1056  |  8-bit (256 colors)
OCR: Wed Augvhichgndicates the lenghoohtheGstring Nhin isbanmonlyarsedgn Pascahand some Basicage EG 4FRED The Macintosh operating system (system 7 uses this format for strings. -Terminate the string with some unique character. that wouldn appear in the string normally a zero byte. This is the convention used in C and is my personal preferred method. EG FREDO What are addressing modes? computer instruction has to specify two things. What operation to perform i.e. subtract etc On what data to perform the operation The op code specifies the operation move add sub etc The operand specifies the data move.b d1, op code operands For a computer to be useful it has to be able to access data in a variety of ways In the example above IP and d7 are both registers If the instruction was: move. 1.$1000 *move ...